var App = require('app');

App.FormsRoute = Ember.Route.extend({
	model: function(params) {
		
	},
	setupController : function(controller, model) {
		var me = this;
		var forms = FormUtil.retriveList();
		controller.set('content', forms);
	}
});

App.FormsNewRoute = Ember.Route.extend({
	model: function(params) {
		
	},
	setupController : function(controller, model) {	
		var form = FormUtil.newForm();
		Vari.CurrFormId = form.get("id");
		Vari.frm = form;
		this.transitionTo("form.edit", form);
	},
});
